
export default ({ request, moduleName }) => ({
  // 分群管理
  /**
   * @description 新增 /urcap/group/add
   */
  api_urcap_group_add({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName}/group/add`,
      method: 'post',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 删除 /urcap/group/delete
   */
  api_urcap_group_delete({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName}/group/delete`,
      method: 'get',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 编辑 /urcap/group/edit
   */
  api_urcap_group_edit({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName}/group/edit`,
      method: 'post',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 详情 /urcap/group/get
   */
  api_urcap_group_get({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName}/group/get`,
      method: 'get',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 列表查询 /urcap/group/queryList
   */
  api_urcap_group_queryList({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName}/group/queryList`,
      method: 'post',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 分页 /urcap/group/queryPage
   */
  api_urcap_group_queryPage({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName}/group/queryPage`,
      method: 'post',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },
})
